package top.cdmrx.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by Mr.陈 time on 2021/9/12 | 13:39
 **/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}) //配置默认不去加载数据源
@ComponentScan(basePackages = {"top.cdmrx"})
@EnableDiscoveryClient      //nacos注册
public class OssApplication {
    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class,args);
    }
}
